import request from '@/utils/request'
export function getList(params = {}) {
    return request({
        url: '/signActivity/list',
        method: 'POST',
        data: params
    }).then(({
        data
    }) => {
        return data
    })
}
export function add(params) {
    return request({
        url: '/signActivity/add',
        method: 'POST',
        data: params
    }).then(res => {
        return res
    })
}
export function delItem(params) {
    return request({
        url: 'signActivity/delete',
        method: 'POST',
        data: params
    }).then(res => res)
}
export function getDetail(params) {
    return request({
        url: '/signActivity/detail',
        method: 'POST',
        data: params
    }).then(({
        data
    }) => data)
}
export function update(params) {
    return request({
      url: '/signActivity/edit',
      method: 'POST',
      data:params
    }).then(res => res)
  }